     using SmartSoft.DAL;
 using System.Web.Services;
    using System;
    using System.Data;
    using System.Data.SqlClient;

[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.None)]
public class WSDmYtDataAccess : System.Web.Services.WebService
{
    private DmYtDataAccess objDataAccess = new DmYtDataAccess();
    public WSDmYtDataAccess()
    {
    }


    [WebMethod(MessageName = "0Params", Description = "", EnableSession = true)]
    public DataSet GetDataSet()
    {
        return objDataAccess.GetDataSet();
    }

    [WebMethod(MessageName = "1Params", Description = "", EnableSession = true)]
    public DataSet GetDataSet(string ps_Code)
    {

        return objDataAccess.GetDataSet(ps_Code);
    }

    [WebMethod]
    public int SaveRow(bool pb_NewChecked, DataTable tableRow)
    {

        return objDataAccess.SaveRow(pb_NewChecked, tableRow.Rows[0]);
    }
}
